r12 vs r13
... ...
99 99
100 100
아주 간단하게 sm(id 8자리)와 (id 8자리) 둘 다 작동하게 수정해보자
101 101
102
{{{#syntax javascript
102
{{{#!syntax javascript
103 103
break; case 'nicovideo': {
104 104
id = id.startsWith('sm') ? id : `sm${id}`;
105 105
d = `<iframe allowfullscreen src="//embed.nicovideo.jp/watch/${encodeURIComponent(id)}" loading=lazy width="${params.width || 720}" height="${params.height || 480}" frameborder=0></iframe>`;
... ...